aio: split out iocb copy from io_submit_one()
authorJens Axboe <axboe@kernel.dk>
Sat, 24 Nov 2018 21:46:14 +0000 (14:46 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 15 May 2019 22:07:16 +0000 (23:07 +0100)
commit0ccf54963aa8c417f426b7521cde08ed5c0d1447
tree3598686c8c38cfd65f7e8f37bccdf4226e77c5ab
parent78b1f9ca103e788ccf4d60bef9fe559c3093810e
aio: split out iocb copy from io_submit_one()

commit 88a6f18b950e2e4dce57d31daa151105f4f3dcff upstream.

In preparation of handing in iocbs in a different fashion as well. Also
make it clear that the iocb being passed in isn't modified, by marking
it const throughout.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name 0006-aio-split-out-iocb-copy-from-io_submit_one.patch
fs/aio.c